package com.wds.mapper;

import com.wds.domain.entity.Menu;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author WDs , wds8.24@outlook.com
 * @version 1.0
 * @since 2022-12-05 21:24
 */
@Mapper
public interface UserInfoMapper {
    public List<String> queryPermissionsById(Long id);
    List<String> queryAllPermissions();

    List<String> queryRoles(Long id);

    List<Menu> queryRoutersById(Long id);

    List<Menu> queryAllRouters();

}
